package cn.codeforfun.entity

import java.io.Serializable
import java.util.*
import javax.persistence.Entity
import javax.persistence.Id
import javax.persistence.Table

@Entity
@Table(name = "t_user")
data class User(
        @Id
        var id: String? = UUID.randomUUID().toString(),
        var username: String? = null,
        var password: String? = null
) : Serializable
